//
//  ViewController.m
//  SLVideoParser
//
//  Created by S_LINE on 2020/6/18.
//  Copyright © 2020 S_LINE. All rights reserved.
//

#import "ViewController.h"

#import "SLMP4Parser.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    NSString *path = [[NSBundle mainBundle] pathForResource:@"ceshi" ofType:@"mp4"];
    SLMP4Parser *parser = [[SLMP4Parser alloc] initWithPath:path];
    [parser test];
    uint64_t location = [parser parseLocationWithSeekTime:169];
    NSLog(@"");
    
//    [parser ]
    // Do any additional setup after loading the view.
}


@end
